package com.huluobo.mvidemo.news

import com.huluobo.mvidemo.entity.Res

/**
 *  Created by LC on 2025/1/13.
 */
sealed class NewsState {
    data class onSuccess(val data: Res) : NewsState()
    data class onError(val msg: String) : NewsState()
    data object onLoading : NewsState()
}
